package com.huang.design.creatation.Factory.SFactory;



public class MainTest {
    public static void main(String[] args) {
        //需要什么车  创建相应工厂
        AbstractCarFactory factory=new WLMinCarFactory();
        AbstractCar car = factory.newCar();
        car.run();
    }
}
